package com.project.hqshorttaxi.service;

import com.project.hqshorttaxi.dto.TurnstileDataParam;
import com.project.hqshorttaxi.entity.TurnstileData;

import java.util.List;

public interface TurnstileDataService {

    TurnstileData getById(Integer id);

    void insert(TurnstileData entity) throws Exception;

    TurnstileData getByShortDistanceId(Integer id);

    List<TurnstileData> list(TurnstileDataParam param);

    List<TurnstileData> getByWhiteList(String plateNumber, String date);
}
